<template>
  <div>
    <el-form-item :label="$t('formgen.userSelect.defaultCurrentUser')">
      <el-switch v-model="activeData.defaultCurrentUser" />
    </el-form-item>
    <el-form-item>
      <template #label>
        <span>
          {{ $t("formgen.deptSelect.enableDataScope") }}
          <el-tooltip
            class="item"
            :content="$t('formgen.deptSelect.enableDataScopeDesc')"
            effect="dark"
            placement="top-start"
          >
            <el-icon><ele-QuestionFilled /></el-icon>
          </el-tooltip>
        </span>
      </template>
      <el-switch v-model="activeData.enableDataScope" />
    </el-form-item>
  </div>
</template>
<script setup lang="ts">
defineProps({
  activeData: {
    type: Object,
    required: true
  }
});
</script>
<style scoped lang="scss"></style>
